﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Coupons.Repositories.Datas
{
	/// <summary>
	/// Coupon de reduction à appliquer sur le panier
	/// </summary>
	public class CouponData
	{
		public CouponData()
		{
		}

		public int Id { get; set; }
		public string Code { get; set; }
		public string Description { get; set; }
		public DateTime? ExpirationDate { get; set; }
		public int? MinimumItemCount { get; set; }
		public long? MinimumPurchase { get; set; }
		public int? MaximumUseCount { get; set; }
		public int UsedCount { get; set; }
		public string ProductIdListString { get; set; }
		public string ProductCategoryIdListString { get; set; }
		public string BrandIdListString { get; set; }
		public string VendorCode { get; set; }
		public string ProviderName { get; set; }
		public DateTime CreationDate { get; set; }
		public DateTime LastUpdate { get; set; }
		public int? DiscountPercent { get; set; }
		public long? CreditAmount { get; set; }
		public bool IsFree { get; set; }
		public bool IsArchived { get; set; }
		public byte[] Version { get; set; }
		public int? ItemCount { get; set; }
		public bool IsCumulable { get; set; }
		public bool IsExclusive { get; set; }
		public bool AuthenticationMandatory { get; set; }
		public int? MaximumUserCount { get; set; }
	}
}
